<template>
  <view :style="themeColor">
    <view class="page">
      <view class="flex benben-position-layout flex flex-wrap align-center wanfoWall_flex_0"
        :style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
        <view class='flex flex-wrap align-center justify-between flex-sub wanfoWall_fd0_0'>
          <view class='flex flex-wrap align-center wanfoWall_fd0_0_c0' @tap.stop="handleJumpDiy" data-type="back"
            data-url="1">
            <text class='fu-iconfont2  wanfoWall_fd0_0_c0_c0'>&#xE794;</text>
          </view>
          <view class='flex flex-wrap align-stretch justify-center'>
            <text class='wanfoWall_fd0_0_c1_c0'>{{$t('云端点灯')}}</text>
          </view>
          <view class='flex flex-wrap align-center justify-end wanfoWall_fd0_0_c0'>
          </view>
        </view>

      </view>
      <view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
      <!---flex布局flex布局开始-->
      <view class="flex benben-flex-layout flex-wrap align-center wanfoWall_flex_1">
        <template v-for='(item,key0) in wallList'>
          <view class='flex flex-direction flex-wrap align-center wanfoWall_fd1_0' :key='key0'>
            <image class='wanfoWall_fd1_0_c0' mode="aspectFit" :src='STATIC_URL+"16.png"'></image>
            <text class='wanfoWall_fd1_0_c1'>{{item.true_name}}</text>
          </view>
        </template>
        <fu-empty :pagingListLoadedAll="pagingListLoadedAll" :pagingListNoListData="pagingListNoListData"
          :listDataLength="listDataLength" :isLoadInit="isLoadInit"></fu-empty>
      </view>

      <!---flex布局flex布局结束-->


    </view>
  </view>
</template>
<script>
  import pagingList from '@/common/mixin/paging_list.js';
  import {
    validate
  } from '@/common/utils/validate.js'
  export default {
    components: {},
    mixins: [pagingList],

    data() {
      return {
        "minixPagingListsApi": "",
        "pageingListApiMethod": "",
        "allowOnloadGetList": false,
        "wallList": [],
        "id": ""
      };
    },
    computed: {
      themeColor() {
        return this.$store.getters.themeColor
      },

    },
    watch: {},
    onLoad(options) {
      let {
        id
      } = options
      if (id !== undefined) this.id = id
      this.getWallFunc()
    },
    onUnload() {

    },
    onReady() {

    },
    onShow() {

    },
    onHide() {

    },
    onResize() {

    },
    onPullDownRefresh() {
      this.getWallFunc()
    },
    onReachBottom(e) {

    },
    onPageScroll(e) {

    },
    methods: {
      //获取万佛墙
      getWallFunc() {
        this.minixPagingListsApi = global.apiUrls.post658965d1b0bbc;
        this.pageingListApiMethod = 'get';
        this.allowOnloadGetList = false;
        this.pagingListPostDataContent = {}
        this.listData = [];
        this.wallList = this.listData;
        this.pagingListToggle();

      },
      pagingListPostData() {
        return this.pagingListPostDataContent
      }
    }
  };
</script>
<style lang="scss" scoped>
  .page {
    width: 100vw;
    overflow-x: hidden;
    min-height: calc(100vh - var(--window-bottom));
    background: rgba(247, 243, 237, 1);
    background-size: 100% auto;
  }

  .wanfoWall_flex_0 {
    border-bottom: 1px solid #eee;
    background: rgba(247, 243, 237, 1);
    width: 750rpx;
    height: 88rpx;
    overflow: hidden;
    z-index: 10;
    top: 0rpx;
    background-size: 100% auto !important;
  }

  .wanfoWall_fd0_0_c1_c0 {
    font-size: 36rpx;
    font-weight: 700;
    color: #333333;
    line-height: 50rpx;
  }

  .wanfoWall_fd0_0_c0_c0 {
    font-size: 36rpx;
    color: #333;
  }

  .wanfoWall_fd0_0_c0 {
    width: 120rpx;
  }

  .wanfoWall_fd0_0 {
    padding: 0rpx 32rpx 0rpx 32rpx;
  }

  .wanfoWall_flex_1 {
    padding: 0rpx 15rpx 0rpx 15rpx;
  }

  .wanfoWall_fd1_0_c1 {
    color: #333333;
    font-size: 26rpx;
    font-weight: 500;
    line-height: 32rpx;
    margin: 16rpx 0rpx 0rpx 0rpx;
  }

  .wanfoWall_fd1_0_c0 {
    width: 124rpx;
    height: 124rpx;
    border-radius: 0rpx 0rpx 0rpx 0rpx;
  }

  .wanfoWall_fd1_0 {
    margin: 24rpx 17rpx 0rpx 0rpx;
  }
</style>
